Some Patterns of Component and Language Integration

نویسنده

  • Uwe Zdun
چکیده

aspect FragSplitObject { static Frag frag; ... protected static void makeSplitObject( JoinPoint jp, Object o) {...} protected static Object invokeSplitObject( JoinPoint jp, Object o) {...} abstract pointcut splitObjectClasses(Object obj); pointcut theConstructors(Object obj): splitObjectClasses(obj) && execution(new(..)); pointcut theMethods(Object obj): splitObjectClasses(obj) && execution(* *(..)) && !execution(String toString());pointcut splitObjectClasses(Object obj); pointcut theConstructors(Object obj): splitObjectClasses(obj) && execution(new(..)); pointcut theMethods(Object obj): splitObjectClasses(obj) && execution(* *(..)) && !execution(String toString()); before(Object obj): theConstructors(obj) { makeSplitObject(thisJoinPoint, obj); } Object around(Object obj) : theMethods(obj) && !cflow(execution(* invokeSplitObject(..))) { return invokeSplitObject(thisJoinPoint, obj); } } Note that this aspect excerpt is simplified. The actual aspect implementation in the Frag distribution is more complex because it treats all Java primitive types by separate pointcuts and advices. The aspect is defined as an abstract aspect. In concrete aspects the pointcut splitObjectClasses is refined. Here, the classes can be defined by the user to which the aspect is applied. For instance, we can apply the split objects to the classes Circle and Square:

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Philosophy and Functions of Verbal Violence in Harold Pinter’s Mountain Language: A CDA Approach

The present study considers the issue of verbal violence in the language of drama. In the evaluation of verbal violence, Jeanette Malkin (2004) proposes six maxims, through which language may be considered as an arrogant element. The characters in dramatic texts (as in other literary texts) are created, developed, evolved and - in some cases - destroyed by language. In a considerable numb...

متن کامل

Implementation of Face Recognition Algorithm on Fields Programmable Gate Array Card

The evolution of today's application technologies requires a certain level of robustness, reliability and ease of integration. We choose the Fields Programmable Gate Array (FPGA) hardware description language to implement the facial recognition algorithm based on "Eigen faces" using Principal Component Analysis. In this paper, we first present an overview of the PCA used for facial recognition,...

متن کامل

"But let me talk": An Investigation into Teachers' Interaction Patterns in EFL Classrooms

Drawing on Walsh's (2012) idea that boosting learners' contribution and interaction can play a key role in their foreign language learning, this mixed-methods study tried to cast some light on the ways by which teachers, via their choice and use of language, create or block learners' contribution in direct interactions in the classroom. A total of 800-minute recordings of 10 teachers' talks and...

متن کامل

Increasing the Effectiveness of Russian Language Teaching for Special Purposes (to the Problem of Integration of Language Training with Information Technology Courses)

The article is devoted to the problem of increasing the efficiency of language teaching for the special purposes of foreign students in studying Russian at a technical university. Particular attention is paid to the training of foreign students in the skills of working with information using the latest computer technology. The conclusions of the work are based on the analysis of the results of ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004